#ifndef TRACKWELDTASTINSTRUCTIONLOGIC_H
#define TRACKWELDTASTINSTRUCTIONLOGIC_H

#include "ioinstruction.h"
#include "programset.h"
#include "instructionEnum.h"
#include "robotio.h"
#include "GeneralDefine.h"

class ProgramEngine;

class TrackWeldTastInstructionLogic
{
public:
    TrackWeldTastInstructionLogic(QString configFilePathIn,int robotIdIn,ProgramSet* programSetIn,RobotIo* ioControllerIn,
                                  ProgramEngine* programEngineIn);
public:
    E_PROGRAM_LOOP_RESULT startTrackWeldTast(int programNum,TrackWeldTastInstruction trackWeldTastInstruct);
private:
    int robotId;
    ProgramSet* programSet;
    RobotIo* ioController;
    ProgramEngine* programEngine;
    QString configFilePath;
};

#endif // TRACKWELDTASTINSTRUCTIONLOGIC_H
